package com.fc.mall.model;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UmsWithdraw implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated
     */
    private Long id;

    private Long memberId;

    private String nickname;

    private String phone;

    private String wx;

    private String wxName;

    private Integer amount;

    private Integer amountFee;

    private Integer amountMoney;

    /**
     * 0:等待审核
     * 1：审核成功
     * 2：审核失败
     * 3：等待打款
     * 4：已打款
     */
    private Integer status;

    private String reason;

    private String auditor;

    private Date applyDate;

    private Date approveDate;

    private int version;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", nickname=").append(nickname);
        sb.append(", phone=").append(phone);
        sb.append(", wx=").append(wx);
        sb.append(", wxName=").append(wxName);
        sb.append(", amount=").append(amount);
        sb.append(", amountFee=").append(amountFee);
        sb.append(", amountMoney=").append(amountMoney);
        sb.append(", status=").append(status);
        sb.append(", reason=").append(reason);
        sb.append(", auditor=").append(auditor);
        sb.append(", applyDate=").append(applyDate);
        sb.append(", approveDate=").append(approveDate);
        sb.append(", version=").append(version);
        sb.append("]");
        return sb.toString();
    }
}